app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(sumwith, f), nil) → nil
app(app(sumwith, f), app(app(cons, x), xs)) → app(app(plus, app(f, x)), app(app(sumwith, f), xs))
↳ QTRS
↳ Overlay + Local Confluence
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(sumwith, f), nil) → nil
app(app(sumwith, f), app(app(cons, x), xs)) → app(app(plus, app(f, x)), app(app(sumwith, f), xs))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(sumwith, f), nil) → nil
app(app(sumwith, f), app(app(cons, x), xs)) → app(app(plus, app(f, x)), app(app(sumwith, f), xs))
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
app(app(sumwith, x0), nil)
app(app(sumwith, x0), app(app(cons, x1), x2))
APP(app(plus, app(s, x)), y) → APP(app(plus, x), y)
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(app(sumwith, f), xs)
APP(app(plus, app(s, x)), y) → APP(s, app(app(plus, x), y))
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(app(plus, app(f, x)), app(app(sumwith, f), xs))
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(plus, app(f, x))
APP(app(plus, app(s, x)), y) → APP(plus, x)
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(f, x)
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(sumwith, f), nil) → nil
app(app(sumwith, f), app(app(cons, x), xs)) → app(app(plus, app(f, x)), app(app(sumwith, f), xs))
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
app(app(sumwith, x0), nil)
app(app(sumwith, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
APP(app(plus, app(s, x)), y) → APP(app(plus, x), y)
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(app(sumwith, f), xs)
APP(app(plus, app(s, x)), y) → APP(s, app(app(plus, x), y))
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(app(plus, app(f, x)), app(app(sumwith, f), xs))
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(plus, app(f, x))
APP(app(plus, app(s, x)), y) → APP(plus, x)
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(f, x)
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(sumwith, f), nil) → nil
app(app(sumwith, f), app(app(cons, x), xs)) → app(app(plus, app(f, x)), app(app(sumwith, f), xs))
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
app(app(sumwith, x0), nil)
app(app(sumwith, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
APP(app(plus, app(s, x)), y) → APP(app(plus, x), y)
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(sumwith, f), nil) → nil
app(app(sumwith, f), app(app(cons, x), xs)) → app(app(plus, app(f, x)), app(app(sumwith, f), xs))
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
app(app(sumwith, x0), nil)
app(app(sumwith, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
APP(app(plus, app(s, x)), y) → APP(app(plus, x), y)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
app(app(sumwith, x0), nil)
app(app(sumwith, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
plus1(s(x), y) → plus1(x, y)
plus(0, x0)
plus(s(x0), x1)
sumwith(x0, nil)
sumwith(x0, cons(x1, x2))
plus(0, x0)
plus(s(x0), x1)
sumwith(x0, nil)
sumwith(x0, cons(x1, x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
plus1(s(x), y) → plus1(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(app(sumwith, f), xs)
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(f, x)
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(sumwith, f), nil) → nil
app(app(sumwith, f), app(app(cons, x), xs)) → app(app(plus, app(f, x)), app(app(sumwith, f), xs))
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
app(app(sumwith, x0), nil)
app(app(sumwith, x0), app(app(cons, x1), x2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(app(sumwith, f), xs)
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(f, x)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
app(app(sumwith, x0), nil)
app(app(sumwith, x0), app(app(cons, x1), x2))
From the DPs we obtained the following set of size-change graphs: